import 'package:flutter/material.dart';

class ValAudioStateType extends ChangeNotifier {
  ValRecordAudioStateType get recordAudioState => _recordAudioState;

  ValRecordAudioStateType _recordAudioState = ValRecordAudioStateType(
    recording: false,
    recordingState: -1,
    noticeMessage: '',
  );

  void updateRecordAudioState(ValRecordAudioStateType state) {
    _recordAudioState = state;
    notifyListeners();
  }
}

class ValRecordAudioStateType {
  final bool recording;
  final int recordingState;
  final String noticeMessage;

  ValRecordAudioStateType({required this.recording, required this.recordingState, required this.noticeMessage});
}
